Add/Strip allows you to manipulate TEXT files in a number of ways. This version is free, but I'll gladly accept ANY donation. If you like it, have questions or suggestions, or find any bugs, I'd like to hear from you. I can be reached at:
COMPUSERVE: 70167,3444
GENIE: JPWIND
MCIMAIL: J.WIND
If you don't have access to these services, or wish to register or obtain a copy of the source code (approx. 85K of commented Turbo Pascal), send a letter and $5 ($6 if I'm supplying the disk) to:
Jon Wind (A/S 2.10)
7180 Montrose Road
Woodbury, MN 55125
COMMAND SUMMARY
------------------------
• EXPAND TABS replaces, line by line, each and every tab with a specified number of spaces.
• FORCE LINE WIDTH reformats lines to a specified width, while removing LFs, without splitting words.
• READ & WRITE FILE simply reads and writes a file, processing it as specified by the selected checkboxes and radio buttons.
• MAKE PARAGRAPHS strips carriage returns (CRs) from lines NOT followed by at least 2 CRs, while removing line feeds (LFs), so that CRs denote paragraphs, not lines. Use this option if you plan on importing the file to a page layout or word processing program. If you'll be using the file on a DOS based computer you should also choose to have LFs added to each paragraph.
• WORDSTAR™ TO TEXT clears the high bit in WordStar files, while removing LFs, to create text files. You may also choose to have dot command lines removed.
• REPLACE SPACES W/ TABS replaces, line by line, consecutive spaces greater than a specified number with a SINGLE tab.
• ADD or STRIP CHARACTERS adds or strips LFs and/or CRs.
• LEADING SPACES may be ignored, removed, or replaced with a SINGLE tab.
• CASE may be ignored, ALL characters converted to upper or lower case, or sentences capitalized. When capitalizing sentences, only the first character of a sentence will be adjusted. Determination of sentences is NOT infallible.
• QUOTES & APOSTROPHES may be ignored, curled (converted to “”, ‘’, or ’), or uncurled (converted to "", '', or '). A warning will appear if an odd number of quotes are found.
• MAXIMUM CONSECUTIVE BLANK LINES may be ignored, or limited to 0, 1, 2, or 3 lines.
• FILTER ASCII #0-8 removes ALL characters with ASCII values lower than 9.
• NORMALIZE SPACES limits spaces; 1 between words and 2 between sentences. Spaces will NOT be inserted, only removed. Determination of sentences is NOT infallible.
• MAKE ELLIPSES & EM DASHES converts ... (3 periods) to … and --- (3 hyphens) to –.
• STRIP TRAILING SPACES removes trailing spaces from each line.
• REPLACEMENT CHARACTERS may be entered via the keyboard or clipboard as normal characters, or in #ASCII format (“Jon” could be “#74#111#110” or “Jo#110”). Replacements are done on a line by line basis.
SPECIAL FEATURES
------------------------
‚àö Directional arrow or < and > keys may be used to manipulate scroll bars. When used with the command key, scrolling is by page.
‚àö Page Up, Page Down, Home, and End keys may be used to manipulate scroll bars on the extended keyboard.
‚àö Cut, Copy, and Paste command key equivalents or function keys F2, F3, and F4 on the extended keyboard may be used in text boxes.
√ The “Cancel” button will close the current window and undo any changes to its contents for all windows EXCEPT the “Get text…” window.
‚àö In most cases, buttons may be selected from the keyboard by typing the first letter, or command-first letter, of its title.
‚àö Command-? or the Help key on the extended keyboard will display this text from just about anywhere.
√ The Output File Creator Type may be selected by the user, to create “double clickable” TEXT files.
‚àö In addition to the default program settings file stored in the System Folder, settings may be created and restored from configuration files.
CURRENT LIMITATIONS
------------------------
∆ Only TEXT files may be processed.
∆ Only the first 255 characters are recognized in a line.
∆ Replacement strings are limited to 15 characters, may not contain CRs, and only operate within a line.